package com.qiaofang.applet.service.member.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.member.domain.WxFollowUsers;
import com.qiaofang.applet.service.member.service.dto.PullWxFollowDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: youqing.yang
 * @Create: 2021/06/22 10:28
 * @Description:
 **/
public interface WxFollowUsersService extends BaseService<WxFollowUsers, String> {


    /**
     * 获取公众号拉取token
     * @param paramDto
     * @return
     */
    String getAccessToken(PullWxFollowDto paramDto);

    /**
     * 监听微信公众号关注事件
     * @param corporationCode
     * @param request
     */
    void monitorWxFollowEvent(String corporationCode, HttpServletRequest request);

}
